<div class="box">
  <div class="box-header">
        <ob_link><a href="{:url('goodsCatAdd')}" class="btn"><i class="fa fa-plus"></i> 新 增</a></ob_link>
        <br/>
  </div>
  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">
      <thead>
      <tr>
          <th>ID</th>
          <th>名称</th>
          <th>排序</th>
          <th>图标</th>
		  <!--<th>状态</th>-->
          <th>操作</th>
      </tr>
      </thead>
      
      {notempty name='list'}
        <tbody>
            {volist name='list' id='vo'}
                <tr>
                    <td>{$vo.id}</td>
                  <td>{$vo.title}</td>
                  <td><input type="text" class="sort-th sort-text" href="{:url('setSort')}" id="{$vo.id}" value="{$vo.sort}" /></td>
                  <td>
                      <img class="admin-list-img-size" src="{$vo.img_id|get_picture_url}"/>
                  </td>
				  <!--<td>-->
                      <!--<ob_link><a class="ajax-get" href="{:url('setStatus', array('ids' => $vo['id'], 'status' => (int)!$vo['status']))}">{$vo.status_text}</a></ob_link>-->
                  <!--</td>-->
                  <td class="col-md-2 text-center">
                      <ob_link><a href="{:url('goodsCatEdit', array('id' => $vo['id']))}" class="btn"><i class="fa fa-edit"></i> 编辑</a></ob_link>
                      <ob_link><a class="btn confirm ajax-get"  href="{:url('goodsCatDel', array('id' => $vo['id']))}"><i class="fa fa-trash-o"></i> 删除</a></ob_link>
                  </td>
                </tr>
                {volist name='vo.catlist' id='v'}
                    <tr>
                        <td>{$v.id}</td>
                        <td style="padding-left:5%">{$v.title}</td>
                        <td><input type="text" class="sort-th sort-text" href="{:url('setSort')}" id="{$v.id}" value="{$v.sort}" /></td>
                        <td>
                            <img class="admin-list-img-size" src="{$v.img_id|get_picture_url}"/>
                        </td>
                        <!--<td>-->
                        <!--<ob_link><a class="ajax-get" href="{:url('setStatus', array('ids' => $vo['id'], 'status' => (int)!$vo['status']))}">{$vo.status_text}</a></ob_link>-->
                        <!--</td>-->
                        <td class="col-md-2 text-center">
                            <ob_link><a href="{:url('goodsCatEdit', array('id' => $v['id']))}" class="btn"><i class="fa fa-edit"></i> 编辑</a></ob_link>
                            <ob_link><a class="btn confirm ajax-get"  href="{:url('goodsCatDel', array('id' => $v['id']))}"><i class="fa fa-trash-o"></i> 删除</a></ob_link>
                        </td>
                    </tr>
                {/volist}
            {/volist}
        </tbody>
        {else/}
        <tbody><tr class="odd"><td colspan="4" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
      {/notempty}
    </table>
  </div>
  <div class="box-footer clearfix text-center">
      {$list->render()}
  </div>
</div>